import { VueConstructor } from 'vue'
import axios from './axios'
import { dict } from './dict'
import { utils } from './utils'
import { AxiosInstance } from 'axios'

export const extend = {
  install (Vue: VueConstructor) {
    Vue.prototype.$axios = axios as AxiosInstance
    Vue.prototype.$dict = dict
    Vue.prototype.$utils = utils
  }
}
